package com.leiyuan.content.service;

import com.leiyuan.dto.CourseTeacherDto;

import java.util.List;

/**
 * TODO
 *
 * @author leiyuan
 * @version 1.0
 */
public interface CourseTeacherService {

    /**
     * 根据课程id查询课程教师信息
     * @param courseId 课程id
     * @return com.leiyuan.dto.CourseTeacherDto
     * @author leiyuan
    */
    List<CourseTeacherDto> queryCourseTeacher(Long courseId);

    /**
     * 新增、修改课程教师信息
     * @param courseTeacherDto
     * @return com.leiyuan.dto.CourseTeacherDto
     * @author leiyuan
    */
    CourseTeacherDto createCourseTeacher(CourseTeacherDto courseTeacherDto);

    /**
     * 删除课程教师信息
     * @param courseId
     * @param id
     * @return void
     * @author leiyuan
    */
    void removeCourseTeacher(Long courseId,Long id);
}
